package com.jumi.microservice.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

@JsonIgnoreProperties(ignoreUnknown = true)
public class MessageBody implements Serializable {

    private static final long serialVersionUID = -519128365516882417L;

    @ApiModelProperty(value = "消息模板id")
    private Long templateId;
    @ApiModelProperty(value = "发送人")
    private Long senderMemberId;
    @ApiModelProperty(value = "接收人")
    private Long receiverMemberId;
    @ApiModelProperty(value = "站内信推送信息")
    private StationMessage messageStation;
    @ApiModelProperty(value = "短信推送信息")
    private SMSMessage SmsMessage;
    @ApiModelProperty(value = "app推送信息")
    private AppMessage appMessage;
    @ApiModelProperty(value = "微信公众号推送信息")
    private WeChatMessage weChatMessage;
    @ApiModelProperty(value = "微信小程序推送信息")
    private WeChatAppletsMessage weChatAppletsMessage;
    @ApiModelProperty(value = "图片地址")
    private String messageImg;
    @ApiModelProperty(value = "跳转地址所需参数")
    private Map<String, String> link = new HashMap<>();


    public String getMessageImg() {
        return messageImg;
    }

    public void setMessageImg(String messageImg) {
        this.messageImg = messageImg;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public Long getSenderMemberId() {
        return senderMemberId;
    }

    public void setSenderMemberId(Long senderMemberId) {
        this.senderMemberId = senderMemberId;
    }

    public Long getReceiverMemberId() {
        return receiverMemberId;
    }

    public void setReceiverMemberId(Long receiverMemberId) {
        this.receiverMemberId = receiverMemberId;
    }

    public StationMessage getMessageStation() {
        return messageStation;
    }

    public void setMessageStation(StationMessage messageStation) {
        this.messageStation = messageStation;
    }

    public SMSMessage getSmsMessage() {
        return SmsMessage;
    }

    public void setSmsMessage(SMSMessage smsMessage) {
        SmsMessage = smsMessage;
    }

    public AppMessage getAppMessage() {
        return appMessage;
    }

    public void setAppMessage(AppMessage appMessage) {
        this.appMessage = appMessage;
    }

    public WeChatMessage getWeChatMessage() {
        return weChatMessage;
    }

    public void setWeChatMessage(WeChatMessage weChatMessage) {
        this.weChatMessage = weChatMessage;
    }

    public WeChatAppletsMessage getWeChatAppletsMessage() {
        return weChatAppletsMessage;
    }

    public void setWeChatAppletsMessage(WeChatAppletsMessage weChatAppletsMessage) {
        this.weChatAppletsMessage = weChatAppletsMessage;
    }

    public Map<String, String> getLink() {
        return link;
    }

    public void setLink(Map<String, String> link) {
        this.link = link;
    }
}
